<layout name="layout/layout_page" />
<header class="am-header am-header-default">
	<h1 class="am-header-title">购物车</h1>
	<div class="am-header-right am-header-nav"> <a href="javascript: void(0)" class="am-menu-toggle"><i class="am-menu-toggle-icon am-icon-cart-plus"></i> 0</a> </div>
</header>
<div class="tabMenu">
	<ul>
		<li>1、购物车</li>
		<li class="active">2、确认订单</li>
		<li>3、购买成功</li>
	</ul>
</div>
<form class="am-form am-form-horizontal" id="myform" data-am-validator method="post" action="<{:U('Againpay/save')}>">
	<div class="form-title">
		<h3>联系方式</h3>
	</div>
	<div class="am-form-group myform">
		<label for="doc-ipt-3" class="am-u-sm-3 am-form-label am-text-right">姓名</label>
		<div class="am-u-sm-9">
			<input type="text" name="name" placeholder="您的姓名" value="<{$list['name']}>" required>
		</div>
	</div>
	<div class="am-form-group myform">
		<label for="doc-ipt-3" class="am-u-sm-3 am-form-label am-text-right">手机号码</label>
		<div class="am-u-sm-9">
			<input type="text" name="mobile" placeholder="您的手机号码" value="<{$list['mobile']}>" required>
		</div>
	</div>
	<div class="form-title">
		<h3>收货地址</h3>
	</div>
	<div class="am-form-group myform">
		<div class="am-u-sm-12">
			<input type="text" name="address" placeholder="您的收货地址" value="<{$list['address']}>">
		</div>
	</div>
	<div class="form-title">
		<h3>配送方式</h3>
	</div>
	<div style="padding-left:2rem">自动发货</div>
	<div class="form-title">
		<h3>订单详情</h3>
	</div>
	<table class="am-table am-table-bordered am-table-radius" style="width:95%; margin:auto">
		<thead>
			<tr>
				<th>名称</th>
				<th>数量</th>
				<th>单价</th>
			</tr>
		</thead>
		<tbody>
				<volist name="detail" id="vo">
			
			<tr>
				<td><{$vo.pname}></td>
				<td><{$vo.number}></td>
				<td><{$vo.price}></td>
			</tr>
		<input type="hidden" name="pid[]" value="<{$vo.pid}>">
		<input type="hidden" name="picname[]" value="<{$vo.picname}>">
		<input type="hidden" name="pname[]" value="<{$vo.pname}>">
		<input type="hidden" name="number[]" value="<{$vo.number}>">
		<input type="hidden" name="price[]" value="<{$vo.price}>">
			</volist>
		
			</tbody>
		
	</table>
	<p style="width:95%; margin-left:auto; margin-right:auto; text-align:right;color:#f00">总价：<{$list['money']}></p>
	<div class="form-title">
		<h3>留言</h3>
	</div>
	<fieldset>
		<textarea rows="5" name="intr" placeholder="您要对我们说的话"><{$list['intr']}></textarea>
	</fieldset>
	<div class="form-title">
		<h3>支付方式</h3>
	</div>
	<div class="am-form-group myform">
		<div class="am-u-sm-12">
			<label class="am-radio-inline">
				<input type="radio" value="1" name="payType" required checked="checked">
				支付宝</label>
			<label class="am-radio-inline">
				<input type="radio" value="2" name="payType" required>
				微信钱包</label>
		</div>
	</div>
	<p>
		<button class="am-btn am-btn-danger am-btn-block">提交订单</button>
	</p>
	<input type="hidden" name="money" value="<{$list['money']}>">
	<input type="hidden" name="order_no" value="<{$list['order_no']}>">
</form>
